<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Vehicle extends Admin_Controller {

	/** Begin: Config **/
	
	// Config List view
	protected $list_view_order_name = 'number_plate';
	protected $list_view_order_direction = 'ASC';
	protected $list_view_searched_fields = array(
			'number_plate'			=>	'Biển số xe'
		);
	protected $list_search_filter = array();
	
	// Config all fields
	protected $fields =  array(
			'number_plate'	=>	array(
									'text'	=>	'Biển số xe',
									'type'	=>	'text',
									'list_view'=>array(
										'is_show_link'	=>	true
									),
									'form_view'=>array(
										'validate_type'=>	'required : true'
									)
								),			
			'model_name'	=>	array(
									'text'	=>	'Loại xe',
									'type'	=>	'text',
									'list_view'=>array(
										'is_show_link'	=>	true
									),
									'form_view'=>array(
									)
								),
			'seat_count'	=>	array(
								'text'	=>	'Số chỗ ngồi',
								'type'	=>	'text',
								'list_view'=>array(
									'is_show_link'	=>	true
								),
								'form_view'=>array(
									'validate_type'=>	'required : true'
								)
							)
			);
	
	/*------------------------------------ Admin Control Panel ------------------------------------*/
	
	/*------------------------------------ End Admin Control Panel --------------------------------*/
	
	
	/*------------------------------------ FRONTEND ------------------------------------*/
	
	/*------------------------------------ End FRONTEND --------------------------------*/
}